.wrapper{
    width: 1266px;
    margin: 0 auto;
}
*{
    margin: 0;
    padding: 0;
}
a{
    text-decoration: none;
}
li{
    list-style: none;
}

/* 主体 */
.box{
    background-color: pink;
    height: 100%;
    margin:100px auto;
}


/* 图片 */
.box ul{
    margin: 0 auto;
    
}
.box li{
    float: left;
    margin-left: 54px;
    overflow: hidden;
    width: 350px;
    height: 247px;
}
.box li img{
    width: 100%;
    height: 180%;
}

/* 文字 */
.box a{
    position: relative;
    display: block;
}
.box .txt{
    position: absolute;
    left: 20px;
    bottom: -50px;
    width: 300px;
    color: #fff;
    height: 157px;
    transform: translateY(0);
    transition: all .5s;
}
.box .txt h4{
    font-weight: 400;
    font-size: 14px;
}
.box .txt h5{
    font-size: 18px;
}
.box .txt p{
    position: absolute;
    bottom: 0;
}
.box .txt p::after{
    content: '\e743';
    color: red;
    font-weight:900;
}

/* 渐变色 */

.box  li .pic{
    position: relative;
    transform: scale(1);
    transition: all 0.5s;
}
.box li .pic::after{
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background:linear-gradient(transparent,rgba(0,0,0,.5));
    opacity: 0;
}

/* 指针效果 */
.box ul li:hover .pic::after{
    opacity: 1;
}

.box ul li:hover .txt{
    transform: translateY(-100px);
}
.box ul li:hover .pic{
    transform: scale(1.1);
}

